package com.skyable.common.constants.exception;

/**
 * @author GaoYuan
 * @title: DeviceExcpConstants
 * @projectName private-cloud
 * @description: TODO
 * @date 2021/7/116:38
 */
public class DeviceExcpConstants {

    public static Integer ERROR_CODE_REDIRECT_UDS = 5000;
    public static String ERROR_MSG_REDIRECT_UDS = "数据转发出错";

    public static Integer ERROR_CODE_LIST_PRODUCT = 5001;
    public static String ERROR_MSG_LIST_PRODUCT = "查询产品列表出错";

    public static Integer ERROR_CODE_LACK_PARAM = 5002;
    public static String ERROR_MSG_LACK_PARAM = "缺少参数";

    public static Integer ERROR_CODE_QUERY_PRODUCT = 5003;
    public static String ERROR_MSG_QUERY_PRODUCT = "查询产品出错";

    public static Integer ERROR_CODE_ADD_PRODUCT = 5004;
    public static String ERROR_MSG_ADD_PRODUCT = "新增产品出错";

    public static Integer ERROR_CODE_UPDATE_PRODUCT = 5005;
    public static String ERROR_MSG_UPDATE_PRODUCT = "新增产品出错";

    public static Integer ERROR_CODE_GET_PRODUCT_REDIRECT = 5006;
    public static String ERROR_MSG_GET_PRODUCT_REDIRECT = "获取转发地址出错";

    public static Integer ERROR_CODE_IMPORT_CONFIG = 5007;
    public static String ERROR_MSG_IMPORT_CONFIG = "导入配置文件出错";



    public static Integer ERROR_CODE_IMPORT_DEVICE = 5008;
    public static String ERROR_MSG_IMPORT_DEVICE = "该文件为空或没有数据";

    public static Integer ERROR_CODE_REGISTER_DEVICE = 5009;
    public static String ERROR_MSG_REGISTER_DEVICE = "设备入库出错";

    public static Integer ERROR_CODE_DEVICE_EXISTS = 5010;
    public static String ERROR_MSG_DEVICE_EXISTS = "设备已存在";

    public static Integer ERROR_CODE_CREATE_DEVICE_TABLE = 5011;
    public static String ERROR_MSG_CREATE_DEVICE_TABLE = "创建设备表失败";

    public static Integer ERROR_CODE_QUERY_DEVICE = 5012;
    public static String ERROR_MSG_QUERY_DEVICE = "查询设备列表失败";

    public static Integer ERROR_CODE_QUERY_AUTH_DEVICE = 5013;
    public static String ERROR_MSG_QUERY_AUTH_DEVICE = "查询设备授权列表失败";

    public static Integer ERROR_CODE_DELETE_DEVICE = 5014;
    public static String ERROR_MSG_DELETE_DEVICE = "删除设备出错";

    public static Integer ERROR_CODE_IMPORT_API_DEVICE = 5015;
    public static String ERROR_MSG_IMPORT_API_DEVICE = "导入设备出错";

    public static Integer ERROR_CODE_DEVICE_EMPTY = 5016;
    public static String ERROR_MSG_DEVICE_EMPTY = "请选择删除的设备";



    public static Integer ERROR_CODE_LIST_DEVICE_VERSION = 5017;
    public static String ERROR_MSG_LIST_DEVICE_VERSION = "获取设备版本列表失败";

    public static Integer ERROR_CODE_CREATE_OTA_VERSION = 5018;
    public static String ERROR_MSG_CREATE_OTA_VERSION = "创建OTA版本失败";

    public static Integer ERROR_CODE_CREATE_OTA_TASK = 5019;
    public static String ERROR_MSG_CREATE_OTA_TASK = "创建OTA任务失败";

    public static Integer ERROR_CODE_DELETE_OTA_VERSION = 5020;
    public static String ERROR_MSG_DELETE_OTA_VERSION = "删除OTA版本失败";

    public static Integer ERROR_CODE_DELETE_OTA_TASK = 5021;
    public static String ERROR_MSG_DELETE_OTA_TASK = "删除OTA版本失败";

    public static Integer ERROR_CODE_START_TASK = 5022;
    public static String ERROR_MSG_START_TASK = "开启OTA任务失败";

    public static Integer ERROR_CODE_GET_TASK = 5023;
    public static String ERROR_MSG_GET_TASK = "未查询到OTA任务";

    public static Integer ERROR_CODE_STOP_TASK = 5024;
    public static String ERROR_MSG_STOP_TASK = "停止OTA任务失败";

    public static Integer ERROR_CODE_GET_ACTIVE_DEVICE = 5025;
    public static String ERROR_MSG_GET_ACTIVE_DEVICE = "获取激活设备数量失败";

    public static Integer ERROR_CODE_GET_ONLINE_DEVICE = 5026;
    public static String ERROR_MSG_GET_ONLINE_DEVICE = "获取在线设备数量失败";

    public static Integer ERROR_CODE_QUERY_OTA = 5027;
    public static String ERROR_MSG_QUERY_OTA = "查询OTA列表失败";

    public static Integer ERROR_CODE_QUERY_TASK = 5028;
    public static String ERROR_MSG_QUERY_TASK = "查询OTA任务列表失败";

    public static Integer ERROR_CODE_GET_OTA_VERSION = 5029;
    public static String ERROR_MSG_GET_OTA_VERSION = "获取OTA版本失败";

    public static Integer ERROR_CODE_GET_OTA_TASK = 5030;
    public static String ERROR_MSG_GET_OTA_TASK = "获取OTA任务失败";



    public static Integer ERROR_CODE_OVER_NUM = 5031;
    public static String ERROR_MSG_OVER_NUM = "开发者秘钥已达到最大数量";


    public static Integer ERROR_CODE_GET_DEVICE_MANAGE = 5032;
    public static String ERROR_MSG_GET_DEVICE_MANAGE = "查询设备管理员失败";

    public static Integer ERROR_CODE_IS_NOT_MANAGER = 5033;
    public static String ERROR_MSG_IS_NOT_MANAGER = "该用户不是管理员";

    public static Integer ERROR_CODE_EXISTS_BIND_INFO = 5034;
    public static String ERROR_MSG_EXISTS_BIND_INFO = "用户已经绑定该设备";

    public static Integer ERROR_CODE_NOTEXISTS_BIND_INFO = 5035;
    public static String ERROR_MSG_NOTEXISTS_BIND_INFO = "用户设备未进行绑定";

    public static Integer ERROR_CODE_DEVICE_NOTEXISTS = 5036;
    public static String ERROR_MSG_DEVICE_NOTEXISTS = "设备不存在";

    public static Integer ERROR_CODE_GET_DEVICE_ONLINE = 5037;
    public static String ERROR_MSG_GET_DEVICE_ONLINE = "获取设备在线状态出错";

    public static Integer ERROR_CODE_GET_DEVICE_COUNT = 5038;
    public static String ERROR_MSG_GET_DEVICE_COUNT = "获取设备数量出错";

    public static Integer ERROR_CODE_SEND_TO_DEVICE = 5039;
    public static String ERROR_MSG_SEND_TO_DEVICE = "向设备发送消息失败";

    public static Integer ERROR_CODE_UNSUPPORT_FILE = 5040;
    public static String ERROR_MSG_UNSUPPORT_FILE = "不支持该格式";

}
